/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.cabarrus.xltosql;

import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;

/**
 *
 * @author moscac
 */
public class XLToSQLTemplateTable {

    public String getTt_db_name() {
        return tt_db_name;
    }

    public void setTt_db_name(String tt_db_name) {
        this.tt_db_name = tt_db_name;
    }

    public String getTt_db_table_name() {
        return tt_db_table_name;
    }

    public void setTt_db_table_name(String tt_db_table_name) {
        String oldValue = this.tt_db_name;
        this.tt_db_table_name = tt_db_table_name;
        changeSupport.firePropertyChange("tt_db_name", oldValue, this.tt_db_name);
    }

    public Integer getTt_id() {
        return tt_id;
    }

    public void setTt_id(Integer tt_id) {
        this.tt_id = tt_id;
    }
    
    public void addPropertyChangeListener(PropertyChangeListener listener) {
        changeSupport.addPropertyChangeListener(listener);
    }

    public void removePropertyChangeListener(PropertyChangeListener listener) {
        changeSupport.removePropertyChangeListener(listener);
    }
    
    private PropertyChangeSupport changeSupport = new PropertyChangeSupport(this);
    private Integer tt_id;
    private String tt_db_name;
    private String tt_db_table_name;
}
